# Uncomment the next line to define a global platform for your project
platform :ios, '9.0'

target 'rzc_app' do
  # Comment the next line if you don't want to use dynamic frameworks
  # this is very important to have!
  rn_path = '../node_modules/react-native'
  pod 'yoga', path: "#{rn_path}/ReactCommon/yoga/yoga.podspec"
  pod 'React', path: rn_path, subspecs: [
    'Core',
    'CxxBridge', # Include this for RN >= 0.47
    'DevSupport', # Include this to enable In-App Devmenu if RN >= 0.43
    'RCTActionSheet',
    'RCTAnimation',
    'RCTGeolocation',
    'RCTImage',
    'RCTLinkingIOS',
    'RCTNetwork',
    'RCTSettings',
    'RCTText',
    'RCTVibration',
    'RCTWebSocket'
  ]
  # Third party deps podspec link
  
  pod 'Bugly'
#  pod 'IQKeyboardManager'
  pod 'Masonry'
  pod 'PolyvLiveAPI'   # Polyv live api
  pod 'PolyvIJKPlayer'    # Polyv ijkPlayer
  # Polyv vod rn sdk
  pod 'XRCarouselView', '~> 2.6.1'
  pod 'YYWebImage', '~> 1.0.5'
  pod 'FDStackView', '~> 1.0.1'
  pod 'PolyvVodSDK', '~> 2.5.4'
  pod 'LBLelinkKit', '~> 30206'
	pod 'PLVVodDanmu', '~> 0.0.1'
	pod 'PLVSubtitle', '~> 0.1.0'
  pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
  pod 'glog', :podspec => '../node_modules/react-native/third-party-podspecs/GLog.podspec'
  pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec'

  pod 'RNImageCropPicker', :path =>  '../node_modules/react-native-image-crop-picker'

  pod 'react-native-amap3d', path: '../node_modules/react-native-amap3d/lib/ios'
  pod 'react-native-amap-geolocation', path: '../node_modules/react-native-amap-geolocation/lib/ios'
  pod 'Picker', :path => '../node_modules/react-native-picker'

  pod 'react-native-splash-screen', :path => '../node_modules/react-native-splash-screen'

  pod 'RNCAsyncStorage', :path => '../node_modules/@react-native-community/async-storage' 
  pod 'RNReanimated', :path => '../node_modules/react-native-reanimated'

  pod 'RNSVG', :path => '../node_modules/react-native-svg'

  pod 'BVLinearGradient', :path => '../node_modules/react-native-linear-gradient'

  pod 'react-native-blur', :path => '../node_modules/@react-native-community/blur'

  pod 'RNTextGradientView', :path => '../node_modules/react-native-text-gradient'
  
  pod 'JPushRN', :path => '../node_modules/jpush-react-native'

  pod 'JCoreRN', :path => '../node_modules/jcore-react-native'

  pod 'react-native-webview', :path => '../node_modules/react-native-webview'

  pod 'ReactNativePermissions', :path => '../node_modules/react-native-permissions'

  pod 'react-native-fast-image', :path => '../node_modules/react-native-fast-image'

  pod 'lottie-react-native', :path => '../node_modules/lottie-react-native'

  pod 'lottie-ios', :path => '../node_modules/lottie-ios'
  
  pod 'RNIap', :path => '../node_modules/react-native-iap'
  
  pod 'react-native-orientation-locker', :path => '../node_modules/react-native-orientation-locker'

  pod 'react-native-view-shot', :path => '../node_modules/react-native-view-shot'

end

# very important to have, unless you removed React dependencies for Libraries
# and you rely on Cocoapods to manage it
post_install do |installer|
  installer.pods_project.targets.each do |target|
    if target.name == "React"
      target.remove_from_project
    end
  end
end
